<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.fbty.mt.utils.OrderUtil"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<style type="text/css">
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}

.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}

.STYLE6 {
	color: #000000;
	font-size: 14px;
}

.STYLE10 {
	color: #000000;
	font-size: 12px;
}

.STYLE19 {
	color: #344b50;
	font-size: 12px;
}

.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}

.STYLE22 {
	font-size: 12px;
	color: #295568;
}

.buylink{
	text-decoration: none;
	color: #000000;
}

.STYLEbtn {
	color: #344b50;
	font-size: 12px;
	border: 0px;
	background-color: #e1e2e3;
}

</style>
<script type="text/javascript" src="<%=path%>/js/jquery-1.4.3.js"></script>
<script type="text/javascript" src="<%=path%>/js/trolley.js"></script>

<body>
	<div style="text-align: center;" id="1test1">IP详细页面</div>
	<table width="80%" border="0" cellpadding="0"
					cellspacing="1" bgcolor="#a8c7ce" align="center">
					<tr>
						<td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">IP</span>
							</div></td>
						<td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Price/day(价格/天)</span>
							</div></td>
						<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Country(国家)</span>
							</div></td>
						<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">State(洲)</span>
							</div></td>
						<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">City(城市)</span>
							</div></td>
						<%-- <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Speed[s](延迟[秒])</span>
							</div></td> --%>
						<td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Days(购买天数)</span>
							</div></td>
						<td width="6%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Price(价格)</span>
							</div></td>
						<td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">Remove(删除)</span>
							</div></td>
						<%-- <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">监测状态</span>
							</div></td> --%>
					</tr>
					<tbody>
					<form action="buy!buyOnlyIp.do" method="post">
						<s:iterator value="infos" var="ipinfo">
							<tr>
								<td height="20" bgcolor="#FFFFFF" class="STYLE6" align="center">
									<a class="buylink" href="javascript:;">
										<span style="background-color: #d3eaef;"><s:property value="#ipinfo.exportIp" /></span>
									</a>
									<span></span>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span class="STYLE19" id="price<s:property value="#ipinfo.id" />"><s:property
												value="#ipinfo.price" /></span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span class="STYLE19"><s:property
												value="#ipinfo.country" /></span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span class="STYLE19"><s:property
												value="#ipinfo.region" /></span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span class="STYLE19"><s:property value="#ipinfo.city" /></span>
									</div></td>
								<%-- <td height="20" bgcolor="#FFFFFF" class="STYLE19" align="center"><div
										style="background-color: #5b6375;width: 80px;">
										<span class="STYLE19" style="color:yellow" id="speed<s:property value="#ipinfo.id"/>"><s:property value="#ipinfo.speed" /></span>
									</div></td> --%>
								<input type="hidden" name="ips" value="<s:property value="#ipinfo.exportIp" />" />
								<td height="20" bgcolor="#FFFFFF"><div align="left"
										class="STYLE21" style="margin-left: 10px;">
										<span >
											<select id="days<s:property value="#ipinfo.id" />" name="days" >
												<option value="0.5">12小时</option>
												<option value="5">5天</option>
												<option value="15">15天</option>
												<option value="30">30天</option>
												<option value="60">60天</option>
											</select>
											
									</span>
									<span id="discount<s:property value="#ipinfo.id"/>" style="color:red;">100%</span>	
									</div></td>
								<td height="20" bgcolor="#FFFFFF"><div align="left"
										class="STYLE21" style="margin-left: 20px;">¥
										<span class="STYLE19"  id="count<s:property value="#ipinfo.id"/>"><s:property
												value="#ipinfo.price*0.5" /></span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF"><div align="center"
										class="STYLE21" id="state<s:property value="#ipinfo.id" />">
										<img alt="" src="../images/adminicons/delete.png">
									</div></td>
								<%-- <td height="20" bgcolor="#FFFFFF"><div align="center"
										class="STYLE21">
										<input type="button" class="STYLEbtn" value="检测"/>
										<input type="hidden" value='<s:property value="#ipinfo.id"/>'>
									</div></td> --%>
							</tr>
						</s:iterator>
					</tbody>
				</table>
				<p></p>
				<s:token/>
				<table width="80%" border="0" cellpadding="0" align="center">
					<tr>
						<td width="80%" id="form1">&nbsp;
							
						</td>
						<td><div style="margin-left: 40px;color:red;" >合计：¥ <span id="total"></span><input name="total1" id='total1' type="hidden" value="0"></input></div></td>
					</tr>
					<tr>
						<td colspan="2" align="center"><input type="button" value="继续选购" onclick="javascript:history.back(0);"/>&nbsp;&nbsp;<input type="submit" value="我要付款" /></input></td>
						
					</tr>
				</table>
				</form>
</body>
</html>